package com.paradogs.framework.core.exceptions.base;

import lombok.Data;

/**
 * @author: yumi
 * @date: 2023/8/1  16:43
 * @Description: TODO
 */
@Data
public class BaseCheckedException extends Exception {

    /**
     * 错误码
     */
    private int code;


    public BaseCheckedException(int code, String message) {
        super(message);
        this.code = code;
    }

}
